package reduce.fz.com.reduce.fragment;


import android.os.Bundle;
import android.app.Fragment;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import com.squareup.picasso.Picasso;

import reduce.fz.com.reduce.R;
import reduce.fz.com.reduce.adapter.BaseListAdapter;
import reduce.fz.com.reduce.adapter.BaseRecycleViewHolder;
import reduce.fz.com.reduce.bean.Follow;
import reduce.fz.com.reduce.fragment.base.BaseListFragment;

public class GuanzhuNotifyFragment extends BaseListFragment<GuanzhuNotifyFragment.MyVieHolder,Follow> {
    String requestUrl="";
    public GuanzhuNotifyFragment() {
    }


    @Override
    public MyVieHolder createItemViewHolder(ViewGroup parent) {
        return null;
    }

    @Override
    public MyVieHolder createfootViewHolder(View view) {
        return null;
    }

    @Override
    public String createReqUrl() {
        return requestUrl;
    }

    public static class MyVieHolder extends BaseRecycleViewHolder<Follow> {
        private ImageView user_header;
        private TextView tv_user_nickname;
        private TextView tv_user_follow_time;


        public MyVieHolder(View itemView) {
            super(itemView);
            user_header = (ImageView) itemView.findViewById(R.id.user_header);
            tv_user_nickname=(TextView)itemView.findViewById(R.id.tv_user_nickname);
            tv_user_follow_time=(TextView)itemView.findViewById(R.id.tv_user_follow_time);
        }
        @Override
        public void renderView(Follow data,int position) {
            Picasso.with(context).load(data.touid.getHeadurl()).into(user_header);
            tv_user_nickname.setText("");
            tv_user_follow_time.setText("");


        }
    }

}
